import { updateState } from "./store";

export function useUpdateStore(namespace: string) {
  return function updateStore<T>(state: T) {
    return updateState(namespace, state);
  };
}
